<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>
         //Array

        const arr = new Array(99);

        let arr1 = [9,2,4,3,100];

        // arr1[0] = 100;
        // arr[0] = 100;

        console.log(arr.length)
        console.log(arr1.join("="))
        console.log(arr1.shift())
        console.log(arr1)
        /* 


         */

         let str = 'http://www.baidu.com/search?s="askjdhcqyet8d7gq73t"'

         let strList = str.split('/')

         let common = strList[2];

         console.log(common.split('.')[1]);

         
         console.log(Math.floor(Math.random()*10000));

         let time = new Date(1701758449496);
         console.log(time);
         console.log(Date.now());

         //获取当月的几号
         console.log()

         let day  = time.getDate();

         let month = time.getMonth()+1;
         console.log()

         console.log("今天是"+time.getFullYear()+"年"+month+"月"+day+"日")

    </script>
   
</body>
</html>